package smartgrid;

import java.util.Date;

public class DataLine {

	private Date timeStamp;
	private float Value;
	private String Unit;

	public Date getTimeStamp() {
		return this.timeStamp;
	}

	public void setTimeStamp(Date timeStamp) {
		this.timeStamp = timeStamp;
	}

	public float getValue() {
		return this.Value;
	}

	public void setValue(float Value) {
		this.Value = Value;
	}

	public String getUnit() {
		return this.Unit;
	}

	public void setUnit(String Unit) {
		this.Unit = Unit;
	}

	/**
	 * Retorna o objecto serializado no formato JSon.
	 * @return 
	 */
	public String getJSon() {
		throw new UnsupportedOperationException();
	}

}